/**
 * Obtain current date
 * @return Currrent date
 * @example 2023-09-22
 */
export function getCurrentDate(): string {
  const currentDate = new Date()
  const year = currentDate.getFullYear()
  const month = String(currentDate.getMonth() + 1).padStart(2, "0")
  const day = String(currentDate.getDate()).padStart(2, "0")
  return `${year}-${month}-${day}`
}
